package com.aspose.cells.a.d;

public class zch {
   public static zb a(zj var0) throws Exception {
      zbz var1 = new zbz(var0.d());
      return a(var1, var0.b(), var0.c());
   }

   public static zb a(zbz var0, com.aspose.cells.b.a.b.zo var1, com.aspose.cells.b.a.b.zt var2) throws Exception {
      zcb var3 = new zcb(var0);
      zcn var4 = new zcn(var3);
      if (!var0.b() && !var0.d() && !var0.e()) {
         zcl var6 = new zcl(var3, var4);
         var6.a(var1, var2);
      } else {
         zcd var5 = new zcd(var3, var4);
         var5.a(var1, var2);
      }

      return var4.e();
   }
}
